package jfoo.playlist;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JScrollPane;

public class PlaylistScroll extends JScrollPane {

	public PlaylistScroll(PlaylistList playlistPanel) {
		this.getViewport().add(playlistPanel);
		this.setHorizontalScrollBarPolicy(HORIZONTAL_SCROLLBAR_NEVER);
		this.setVerticalScrollBarPolicy(VERTICAL_SCROLLBAR_NEVER);
		this.setPreferredSize(new Dimension(20, 20));
		this.setBackground(Color.WHITE);
	}
}
